Uploaded image for project: 'Prestashop 1.6'
  1. Prestashop 1.6
  2. PSCSX-8448

[Webservice] : Default Carrier ID is forced

    Details

    • Type: Bug
    • Status: To Do
    • Priority: Standard
    • Resolution: Unresolved
    • Affects Version/s: 1.6.1.7
    • Fix Version/s: None
    • Component/s: None

      Description

      When you create an ORDER with the Webservice, and specify a CARRIER_ID, webservice ignores it and use the default carrier ID.

      [Proof Of Concept]

      CREATE ORDER : Debug result
      POST /api/orders HTTP/1.1

      XML SENT
      ...
      <id_carrier required="true" format="isUnsignedId">59</id_carrier>
      ...

      RETURN HTTP BODY
      ...
      <id_carrier xlink:href="http://website.com/api/carriers/59"><![CDATA[59]]></id_carrier>
      ...

      DISPLAY ORDER : Debug result
      GET /api/orders/51614

      RETURN HTTP BODY
      <id_carrier xlink:href="http://website.com/api/carriers/62"><![CDATA[62]]></id_carrier>

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Nicolas.v Nicolas ver
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: