-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DRAFT: Support v10 API #31
Conversation
It would be nice if you can implement this, bol is pushing this. From june we are not allowed to standard email the invoices but use this (still in beta!) system. With regards, Theo |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution! I left some comments that need to be addressed.
@robvanaarle I updated the api generator. I still need to merge the v9 and v10 files together because the v10 json does not contain the v9 endpoints, only the new still in beta endpoints. tried to upload a invoice to bol.com and thats working without any error. Could you please take a look at it?
/** @var \Picqer\BolRetailerV8\Model\ReducedShipment[] $apiShipments */
$apiShipments = $this->apiCreatorService->getBolRetailerClient()->getShipments(
null,
null,
(string)$salesOrder->getSources()->first()->getRemoteId(),
);
$this->apiCreatorService->getBolRetailerClient()->uploadInvoice(
$tmpFile,
$apiShipments[0]->shipmentId,
); |
Its still early.
but we want to support V10 when its coming out, to support pushing invoices to de Bol.com API.
see: nieuwe-werkwijze-voor-aanvragen-en-versturen-van-facturen