We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I need to know what data as string is passed to following function amazon-mws-laravel/src/AmazonFeed.php/setFeedContent($s)
What will be inside $s in setFeedContent($s)?? Will it be xml as string?
Give simple example please. Thanks.
The text was updated successfully, but these errors were encountered:
Which feed type you want to submit?
if your feed type contains XML,
Then just create an XML and store it to the variable and then set that variable to the setFeedCotent().
setFeedCotent()
$xmlString = '<?xml version="1.0" encoding="UTF-8"?> <AmazonEnvelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="amzn-envelope.xsd"> <Header> <DocumentVersion>1.01</DocumentVersion> <MerchantIdentifier>XXXX</MerchantIdentifier> </Header> <MessageType>CartonContentsRequest</MessageType> <Message> <MessageID>MSG !</MessageID> <CartonContentsRequest> <ShipmentId>FBAXXX</ShipmentId> <NumCartons>XX</NumCartons> <Carton> <CartonId>SSS</CartonId> <Item> <SKU>SKU</SKU> <QuantityShipped>XXX</QuantityShipped> <QuantityInCase>XX</QuantityInCase> </Item> </Carton> <Carton> <CartonId>SSS</CartonId> <Item> <SKU>SKU</SKU> <QuantityShipped>XXX</QuantityShipped> <QuantityInCase>XX</QuantityInCase> </Item> </Carton> </CartonContentsRequest> </Message> </AmazonEnvelope>';
Once your XML is ready just set it to the setFeedContent() function.
setFeedContent()
Here is my example, I have created XML in $xmlString variable and then I set that variable to the setFeedContent() function
$xmlString
$amzRequestFeed = new AmazonFeed($store); $setFeedResult = $amzRequestFeed->setFeedContent($xmlString);
Hope this is helpful.
Sorry, something went wrong.
No branches or pull requests
I need to know what data as string is passed to following function
amazon-mws-laravel/src/AmazonFeed.php/setFeedContent($s)
What will be inside $s in setFeedContent($s)??
Will it be xml as string?
Give simple example please.
Thanks.
The text was updated successfully, but these errors were encountered: