Attachment repo holds the record on the files attached to the product

GET
Retrieve product attachments by conditions

_cnd[limit]
array 
Sets the offset (first item) and the limit (second item)
_cnd[orderBy]
array 
Sets sorting order field
default Success <XLite\Module\CDev\FileAttachments\Model\Product\Attachment>[] array
Sample response
[{"private":false,"history":[{"id":63,"login":"example","ip":"example","date":64,"path":"example","additionalDetails":"example","attachment":"<XLite\\Module\\CDev\\FileAttachments\\Model\\Product\\Attachment>","order":{"usedCoupons":"<XLite\\Module\\CDev\\Coupons\\Model\\UsedCoupon>[] array","uspsShipment":"<XLite\\Module\\CDev\\USPS\\Model\\Shipment>[] array","capostParcels":"<XLite\\Module\\XC\\CanadaPost\\Model\\Order\\Parcel>[] array","capostReturns":"<XLite\\Module\\XC\\CanadaPost\\Model\\ProductsReturn>[] array","capostOffice":"<XLite\\Module\\XC\\CanadaPost\\Model\\Order\\PostOffice>","giftWrapping":"boolean","greetingMessage":"string","mailchimpStoreId":"string","mandrill_mails":"<XLite\\Module\\XC\\Mandrill\\Model\\MandrillMail>[] array","not_finished_order":"<XLite\\Model\\Order>","pbOrder":"<XLite\\Module\\XC\\PitneyBowes\\Model\\PBOrder>","conversation":"<XLite\\Module\\XC\\VendorMessages\\Model\\Conversation>","order_id":"integer","profile":"<XLite\\Model\\Profile>","orig_profile":"<XLite\\Model\\Profile>","shipping_id":"integer","shipping_method_name":"string","payment_method_name":"string","tracking":"string","date":"integer","lastRenewDate":"integer","paymentStatus":"<XLite\\Model\\Order\\Status\\Payment>","shippingStatus":"<XLite\\Model\\Order\\Status\\Shipping>","notes":"string","adminNotes":"string","details":"<XLite\\Model\\OrderDetail>[] array","trackingNumbers":"<XLite\\Model\\OrderTrackingNumber>[] array","events":"<XLite\\Model\\OrderHistoryEvents>[] array","items":"<XLite\\Model\\OrderItem>[] array","surcharges":"<XLite\\Model\\Order\\Surcharge>[] array","payment_transactions":"<XLite\\Model\\Payment\\Transaction>[] array","currency":"<XLite\\Model\\Currency>","orderNumber":"string","recent":"boolean","xcPendingExport":"boolean","total":"string","subtotal":"string"},"profile":{"gaClientId":"string","socialLoginProvider":"string","socialLoginId":"string","pictureUrl":"string","mail_chimp_lists":"<XLite\\Module\\XC\\MailChimp\\Model\\MailChimpList>[] array","mail_chimp_interests":"<XLite\\Module\\XC\\MailChimp\\Model\\MailChimpGroupName>[] array","mail_chimp_segments":"<XLite\\Module\\XC\\MailChimp\\Model\\MailChimpSegment>[] array","auth_phone_number":"string","auth_phone_code":"string","authy_id":"integer","conversations":"<XLite\\Module\\XC\\VendorMessages\\Model\\Conversation>[] array","profile_id":"integer","login":"string","password":"string","password_hint":"string","password_hint_answer":"string","passwordResetKey":"string","passwordResetKeyDate":"integer","access_level":"integer","cms_profile_id":"integer","cms_name":"string","added":"integer","first_login":"integer","last_login":"integer","status":"string","statusComment":"string","referer":"string","order":"<XLite\\Model\\Order>","event":"<XLite\\Model\\OrderHistoryEvents>[] array","language":"string","last_shipping_id":"integer","last_payment_id":"integer","membership":"<membership object>","pending_membership":"<pending_membership object>","addresses":"<XLite\\Model\\Address>[] array","roles":"<XLite\\Model\\Role>[] array","anonymous":"boolean","forceChangePassword":"boolean","dateOfLoginAttempt":"integer","countOfLoginAttempts":"integer","searchFakeField":"string","xcPendingExport":"boolean"}}],"id":19,"orderby":83,"product":{"featuredProducts":"<XLite\\Module\\CDev\\FeaturedProducts\\Model\\FeaturedProduct>[] array","attachments":"<XLite\\Module\\CDev\\FileAttachments\\Model\\Product\\Attachment>[] array","ogMeta":"string","useCustomOG":"boolean","marketPrice":"string","pinCodesEnabled":"boolean","autoPinCodes":"boolean","pinCodes":"<XLite\\Module\\CDev\\PINCodes\\Model\\PinCode>[] array","views_stats":"<XLite\\Module\\CDev\\ProductAdvisor\\Model\\ProductStats>[] array","purchase_stats":"<XLite\\Module\\CDev\\ProductAdvisor\\Model\\ProductStats>[] array","participateSale":"boolean","discountType":"string","salePriceValue":"string","xcPendingBulkEdit":"boolean","tabs":"<XLite\\Module\\XC\\CustomProductTabs\\Model\\Product\\Tab>[] array","isCustomerAttachmentsAvailable":"boolean","isCustomerAttachmentsRequired":"boolean","facebookMarketingEnabled":"boolean","freeShip":"boolean","freightFixedFee":"string","useAsSegmentCondition":"boolean","exported_pb":"boolean","gpc":"string","gtin":"string","hs_code":"string","mpn":"string","model_number":"string","stock_number":"string","hazmat":"boolean","chemicals":"boolean","pesticide":"boolean","aerosol":"boolean","rppc":"boolean","non_spillable":"boolean","fuel":"boolean","ormd":"boolean","battery":"string","product_condition":"string","country_of_origin":"<XLite\\Model\\Country>","restrictions":"<XLite\\Module\\XC\\PitneyBowes\\Model\\ProductRestriction>[] array","tags":"<XLite\\Module\\XC\\ProductTags\\Model\\Tag>[] array","variants":"<XLite\\Module\\XC\\ProductVariants\\Model\\ProductVariant>[] array","variantsAttributes":"<XLite\\Model\\Attribute>[] array","wholesalePrices":"<XLite\\Module\\CDev\\Wholesale\\Model\\WholesalePrice>[] array","reviews":"<XLite\\Module\\XC\\Reviews\\Model\\Review>[] array","upsellingProducts":"<XLite\\Module\\XC\\Upselling\\Model\\UpsellingProduct>[] array","upsellingParentProducts":"<XLite\\Module\\XC\\Upselling\\Model\\UpsellingProduct>[] array","product_id":"integer","price":"string","sku":"string","enabled":"boolean","weight":"string","useSeparateBox":"boolean","boxWidth":"string","boxLength":"string","boxHeight":"string","itemsPerBox":"integer","free_shipping":"boolean","taxable":"boolean","javascript":"string","arrivalDate":"integer","date":"integer","updateDate":"integer","needProcess":"boolean","categoryProducts":"<XLite\\Model\\CategoryProducts>[] array","order_items":"<XLite\\Model\\OrderItem>[] array","images":"<XLite\\Model\\Image\\Product\\Image>[] array","inventoryEnabled":"boolean","amount":"integer","lowLimitEnabledCustomer":"boolean","lowLimitEnabled":"boolean","lowLimitAmount":"integer","productClass":"<XLite\\Model\\ProductClass>","taxClass":"<XLite\\Model\\TaxClass>","attributes":"<XLite\\Model\\Attribute>[] array","attributeValueC":"<XLite\\Model\\AttributeValue\\AttributeValueCheckbox>[] array","attributeValueT":"<XLite\\Model\\AttributeValue\\AttributeValueText>[] array","attributeValueS":"<XLite\\Model\\AttributeValue\\AttributeValueSelect>[] array","attrSepTab":"boolean","quickData":"<XLite\\Model\\QuickData>[] array","memberships":"<XLite\\Model\\Membership>[] array","cleanURLs":"<XLite\\Model\\CleanURL>[] array","metaDescType":"string","sales":"integer","xcPendingExport":"boolean"},"storage":{"attachment":"<XLite\\Module\\CDev\\FileAttachments\\Model\\Product\\Attachment>","id":34,"path":"example","fileName":"example","mime":"example","storageType":"example","size":98,"date":90},"access":"example"}]

GET
Retrieve product attachment by id

id
integer Required
Id value of the Attachment object
default Success <XLite\Module\CDev\FileAttachments\Model\Product\Attachment>
Sample response
{"private":false,"history":[{"id":63,"login":"example","ip":"example","date":64,"path":"example","additionalDetails":"example","attachment":"<XLite\\Module\\CDev\\FileAttachments\\Model\\Product\\Attachment>","order":{"usedCoupons":"<XLite\\Module\\CDev\\Coupons\\Model\\UsedCoupon>[] array","uspsShipment":"<XLite\\Module\\CDev\\USPS\\Model\\Shipment>[] array","capostParcels":"<XLite\\Module\\XC\\CanadaPost\\Model\\Order\\Parcel>[] array","capostReturns":"<XLite\\Module\\XC\\CanadaPost\\Model\\ProductsReturn>[] array","capostOffice":"<XLite\\Module\\XC\\CanadaPost\\Model\\Order\\PostOffice>","giftWrapping":"boolean","greetingMessage":"string","mailchimpStoreId":"string","mandrill_mails":"<XLite\\Module\\XC\\Mandrill\\Model\\MandrillMail>[] array","not_finished_order":"<XLite\\Model\\Order>","pbOrder":"<XLite\\Module\\XC\\PitneyBowes\\Model\\PBOrder>","conversation":"<XLite\\Module\\XC\\VendorMessages\\Model\\Conversation>","order_id":"integer","profile":"<XLite\\Model\\Profile>","orig_profile":"<XLite\\Model\\Profile>","shipping_id":"integer","shipping_method_name":"string","payment_method_name":"string","tracking":"string","date":"integer","lastRenewDate":"integer","paymentStatus":"<XLite\\Model\\Order\\Status\\Payment>","shippingStatus":"<XLite\\Model\\Order\\Status\\Shipping>","notes":"string","adminNotes":"string","details":"<XLite\\Model\\OrderDetail>[] array","trackingNumbers":"<XLite\\Model\\OrderTrackingNumber>[] array","events":"<XLite\\Model\\OrderHistoryEvents>[] array","items":"<XLite\\Model\\OrderItem>[] array","surcharges":"<XLite\\Model\\Order\\Surcharge>[] array","payment_transactions":"<XLite\\Model\\Payment\\Transaction>[] array","currency":"<XLite\\Model\\Currency>","orderNumber":"string","recent":"boolean","xcPendingExport":"boolean","total":"string","subtotal":"string"},"profile":{"gaClientId":"string","socialLoginProvider":"string","socialLoginId":"string","pictureUrl":"string","mail_chimp_lists":"<XLite\\Module\\XC\\MailChimp\\Model\\MailChimpList>[] array","mail_chimp_interests":"<XLite\\Module\\XC\\MailChimp\\Model\\MailChimpGroupName>[] array","mail_chimp_segments":"<XLite\\Module\\XC\\MailChimp\\Model\\MailChimpSegment>[] array","auth_phone_number":"string","auth_phone_code":"string","authy_id":"integer","conversations":"<XLite\\Module\\XC\\VendorMessages\\Model\\Conversation>[] array","profile_id":"integer","login":"string","password":"string","password_hint":"string","password_hint_answer":"string","passwordResetKey":"string","passwordResetKeyDate":"integer","access_level":"integer","cms_profile_id":"integer","cms_name":"string","added":"integer","first_login":"integer","last_login":"integer","status":"string","statusComment":"string","referer":"string","order":"<XLite\\Model\\Order>","event":"<XLite\\Model\\OrderHistoryEvents>[] array","language":"string","last_shipping_id":"integer","last_payment_id":"integer","membership":"<membership object>","pending_membership":"<pending_membership object>","addresses":"<XLite\\Model\\Address>[] array","roles":"<XLite\\Model\\Role>[] array","anonymous":"boolean","forceChangePassword":"boolean","dateOfLoginAttempt":"integer","countOfLoginAttempts":"integer","searchFakeField":"string","xcPendingExport":"boolean"}}],"id":19,"orderby":83,"product":{"featuredProducts":"<XLite\\Module\\CDev\\FeaturedProducts\\Model\\FeaturedProduct>[] array","attachments":"<XLite\\Module\\CDev\\FileAttachments\\Model\\Product\\Attachment>[] array","ogMeta":"string","useCustomOG":"boolean","marketPrice":"string","pinCodesEnabled":"boolean","autoPinCodes":"boolean","pinCodes":"<XLite\\Module\\CDev\\PINCodes\\Model\\PinCode>[] array","views_stats":"<XLite\\Module\\CDev\\ProductAdvisor\\Model\\ProductStats>[] array","purchase_stats":"<XLite\\Module\\CDev\\ProductAdvisor\\Model\\ProductStats>[] array","participateSale":"boolean","discountType":"string","salePriceValue":"string","xcPendingBulkEdit":"boolean","tabs":"<XLite\\Module\\XC\\CustomProductTabs\\Model\\Product\\Tab>[] array","isCustomerAttachmentsAvailable":"boolean","isCustomerAttachmentsRequired":"boolean","facebookMarketingEnabled":"boolean","freeShip":"boolean","freightFixedFee":"string","useAsSegmentCondition":"boolean","exported_pb":"boolean","gpc":"string","gtin":"string","hs_code":"string","mpn":"string","model_number":"string","stock_number":"string","hazmat":"boolean","chemicals":"boolean","pesticide":"boolean","aerosol":"boolean","rppc":"boolean","non_spillable":"boolean","fuel":"boolean","ormd":"boolean","battery":"string","product_condition":"string","country_of_origin":"<XLite\\Model\\Country>","restrictions":"<XLite\\Module\\XC\\PitneyBowes\\Model\\ProductRestriction>[] array","tags":"<XLite\\Module\\XC\\ProductTags\\Model\\Tag>[] array","variants":"<XLite\\Module\\XC\\ProductVariants\\Model\\ProductVariant>[] array","variantsAttributes":"<XLite\\Model\\Attribute>[] array","wholesalePrices":"<XLite\\Module\\CDev\\Wholesale\\Model\\WholesalePrice>[] array","reviews":"<XLite\\Module\\XC\\Reviews\\Model\\Review>[] array","upsellingProducts":"<XLite\\Module\\XC\\Upselling\\Model\\UpsellingProduct>[] array","upsellingParentProducts":"<XLite\\Module\\XC\\Upselling\\Model\\UpsellingProduct>[] array","product_id":"integer","price":"string","sku":"string","enabled":"boolean","weight":"string","useSeparateBox":"boolean","boxWidth":"string","boxLength":"string","boxHeight":"string","itemsPerBox":"integer","free_shipping":"boolean","taxable":"boolean","javascript":"string","arrivalDate":"integer","date":"integer","updateDate":"integer","needProcess":"boolean","categoryProducts":"<XLite\\Model\\CategoryProducts>[] array","order_items":"<XLite\\Model\\OrderItem>[] array","images":"<XLite\\Model\\Image\\Product\\Image>[] array","inventoryEnabled":"boolean","amount":"integer","lowLimitEnabledCustomer":"boolean","lowLimitEnabled":"boolean","lowLimitAmount":"integer","productClass":"<XLite\\Model\\ProductClass>","taxClass":"<XLite\\Model\\TaxClass>","attributes":"<XLite\\Model\\Attribute>[] array","attributeValueC":"<XLite\\Model\\AttributeValue\\AttributeValueCheckbox>[] array","attributeValueT":"<XLite\\Model\\AttributeValue\\AttributeValueText>[] array","attributeValueS":"<XLite\\Model\\AttributeValue\\AttributeValueSelect>[] array","attrSepTab":"boolean","quickData":"<XLite\\Model\\QuickData>[] array","memberships":"<XLite\\Model\\Membership>[] array","cleanURLs":"<XLite\\Model\\CleanURL>[] array","metaDescType":"string","sales":"integer","xcPendingExport":"boolean"},"storage":{"attachment":"<XLite\\Module\\CDev\\FileAttachments\\Model\\Product\\Attachment>","id":34,"path":"example","fileName":"example","mime":"example","storageType":"example","size":98,"date":90},"access":"example"}
private
boolean
Private attachment
history
[] array
Attachment history
id
integer
Unique id
orderby
integer
Sort position
product
storage
access
string
Access - membership id or [self::ACCESS_ANY, self::ACCESS_REGISTERED]

PUT
Update product attachment by id

id
integer Required
Id value of the Attachment object
<XLite\Module\CDev\FileAttachments\Model\Product\Attachment>
private
boolean
Private attachment
history
[] array
Attachment history
id
integer
Unique id
orderby
integer
Sort position
product
storage
access
string
Access - membership id or [self::ACCESS_ANY, self::ACCESS_REGISTERED]
default Success <XLite\Module\CDev\FileAttachments\Model\Product\Attachment>
Sample response
{"private":false,"history":[{"id":63,"login":"example","ip":"example","date":64,"path":"example","additionalDetails":"example","attachment":"<XLite\\Module\\CDev\\FileAttachments\\Model\\Product\\Attachment>","order":{"usedCoupons":"<XLite\\Module\\CDev\\Coupons\\Model\\UsedCoupon>[] array","uspsShipment":"<XLite\\Module\\CDev\\USPS\\Model\\Shipment>[] array","capostParcels":"<XLite\\Module\\XC\\CanadaPost\\Model\\Order\\Parcel>[] array","capostReturns":"<XLite\\Module\\XC\\CanadaPost\\Model\\ProductsReturn>[] array","capostOffice":"<XLite\\Module\\XC\\CanadaPost\\Model\\Order\\PostOffice>","giftWrapping":"boolean","greetingMessage":"string","mailchimpStoreId":"string","mandrill_mails":"<XLite\\Module\\XC\\Mandrill\\Model\\MandrillMail>[] array","not_finished_order":"<XLite\\Model\\Order>","pbOrder":"<XLite\\Module\\XC\\PitneyBowes\\Model\\PBOrder>","conversation":"<XLite\\Module\\XC\\VendorMessages\\Model\\Conversation>","order_id":"integer","profile":"<XLite\\Model\\Profile>","orig_profile":"<XLite\\Model\\Profile>","shipping_id":"integer","shipping_method_name":"string","payment_method_name":"string","tracking":"string","date":"integer","lastRenewDate":"integer","paymentStatus":"<XLite\\Model\\Order\\Status\\Payment>","shippingStatus":"<XLite\\Model\\Order\\Status\\Shipping>","notes":"string","adminNotes":"string","details":"<XLite\\Model\\OrderDetail>[] array","trackingNumbers":"<XLite\\Model\\OrderTrackingNumber>[] array","events":"<XLite\\Model\\OrderHistoryEvents>[] array","items":"<XLite\\Model\\OrderItem>[] array","surcharges":"<XLite\\Model\\Order\\Surcharge>[] array","payment_transactions":"<XLite\\Model\\Payment\\Transaction>[] array","currency":"<XLite\\Model\\Currency>","orderNumber":"string","recent":"boolean","xcPendingExport":"boolean","total":"string","subtotal":"string"},"profile":{"gaClientId":"string","socialLoginProvider":"string","socialLoginId":"string","pictureUrl":"string","mail_chimp_lists":"<XLite\\Module\\XC\\MailChimp\\Model\\MailChimpList>[] array","mail_chimp_interests":"<XLite\\Module\\XC\\MailChimp\\Model\\MailChimpGroupName>[] array","mail_chimp_segments":"<XLite\\Module\\XC\\MailChimp\\Model\\MailChimpSegment>[] array","auth_phone_number":"string","auth_phone_code":"string","authy_id":"integer","conversations":"<XLite\\Module\\XC\\VendorMessages\\Model\\Conversation>[] array","profile_id":"integer","login":"string","password":"string","password_hint":"string","password_hint_answer":"string","passwordResetKey":"string","passwordResetKeyDate":"integer","access_level":"integer","cms_profile_id":"integer","cms_name":"string","added":"integer","first_login":"integer","last_login":"integer","status":"string","statusComment":"string","referer":"string","order":"<XLite\\Model\\Order>","event":"<XLite\\Model\\OrderHistoryEvents>[] array","language":"string","last_shipping_id":"integer","last_payment_id":"integer","membership":"<membership object>","pending_membership":"<pending_membership object>","addresses":"<XLite\\Model\\Address>[] array","roles":"<XLite\\Model\\Role>[] array","anonymous":"boolean","forceChangePassword":"boolean","dateOfLoginAttempt":"integer","countOfLoginAttempts":"integer","searchFakeField":"string","xcPendingExport":"boolean"}}],"id":19,"orderby":83,"product":{"featuredProducts":"<XLite\\Module\\CDev\\FeaturedProducts\\Model\\FeaturedProduct>[] array","attachments":"<XLite\\Module\\CDev\\FileAttachments\\Model\\Product\\Attachment>[] array","ogMeta":"string","useCustomOG":"boolean","marketPrice":"string","pinCodesEnabled":"boolean","autoPinCodes":"boolean","pinCodes":"<XLite\\Module\\CDev\\PINCodes\\Model\\PinCode>[] array","views_stats":"<XLite\\Module\\CDev\\ProductAdvisor\\Model\\ProductStats>[] array","purchase_stats":"<XLite\\Module\\CDev\\ProductAdvisor\\Model\\ProductStats>[] array","participateSale":"boolean","discountType":"string","salePriceValue":"string","xcPendingBulkEdit":"boolean","tabs":"<XLite\\Module\\XC\\CustomProductTabs\\Model\\Product\\Tab>[] array","isCustomerAttachmentsAvailable":"boolean","isCustomerAttachmentsRequired":"boolean","facebookMarketingEnabled":"boolean","freeShip":"boolean","freightFixedFee":"string","useAsSegmentCondition":"boolean","exported_pb":"boolean","gpc":"string","gtin":"string","hs_code":"string","mpn":"string","model_number":"string","stock_number":"string","hazmat":"boolean","chemicals":"boolean","pesticide":"boolean","aerosol":"boolean","rppc":"boolean","non_spillable":"boolean","fuel":"boolean","ormd":"boolean","battery":"string","product_condition":"string","country_of_origin":"<XLite\\Model\\Country>","restrictions":"<XLite\\Module\\XC\\PitneyBowes\\Model\\ProductRestriction>[] array","tags":"<XLite\\Module\\XC\\ProductTags\\Model\\Tag>[] array","variants":"<XLite\\Module\\XC\\ProductVariants\\Model\\ProductVariant>[] array","variantsAttributes":"<XLite\\Model\\Attribute>[] array","wholesalePrices":"<XLite\\Module\\CDev\\Wholesale\\Model\\WholesalePrice>[] array","reviews":"<XLite\\Module\\XC\\Reviews\\Model\\Review>[] array","upsellingProducts":"<XLite\\Module\\XC\\Upselling\\Model\\UpsellingProduct>[] array","upsellingParentProducts":"<XLite\\Module\\XC\\Upselling\\Model\\UpsellingProduct>[] array","product_id":"integer","price":"string","sku":"string","enabled":"boolean","weight":"string","useSeparateBox":"boolean","boxWidth":"string","boxLength":"string","boxHeight":"string","itemsPerBox":"integer","free_shipping":"boolean","taxable":"boolean","javascript":"string","arrivalDate":"integer","date":"integer","updateDate":"integer","needProcess":"boolean","categoryProducts":"<XLite\\Model\\CategoryProducts>[] array","order_items":"<XLite\\Model\\OrderItem>[] array","images":"<XLite\\Model\\Image\\Product\\Image>[] array","inventoryEnabled":"boolean","amount":"integer","lowLimitEnabledCustomer":"boolean","lowLimitEnabled":"boolean","lowLimitAmount":"integer","productClass":"<XLite\\Model\\ProductClass>","taxClass":"<XLite\\Model\\TaxClass>","attributes":"<XLite\\Model\\Attribute>[] array","attributeValueC":"<XLite\\Model\\AttributeValue\\AttributeValueCheckbox>[] array","attributeValueT":"<XLite\\Model\\AttributeValue\\AttributeValueText>[] array","attributeValueS":"<XLite\\Model\\AttributeValue\\AttributeValueSelect>[] array","attrSepTab":"boolean","quickData":"<XLite\\Model\\QuickData>[] array","memberships":"<XLite\\Model\\Membership>[] array","cleanURLs":"<XLite\\Model\\CleanURL>[] array","metaDescType":"string","sales":"integer","xcPendingExport":"boolean"},"storage":{"attachment":"<XLite\\Module\\CDev\\FileAttachments\\Model\\Product\\Attachment>","id":34,"path":"example","fileName":"example","mime":"example","storageType":"example","size":98,"date":90},"access":"example"}
private
boolean
Private attachment
history
[] array
Attachment history
id
integer
Unique id
orderby
integer
Sort position
product
storage
access
string
Access - membership id or [self::ACCESS_ANY, self::ACCESS_REGISTERED]

DELETE
Delete product attachment by id

id
integer Required
Id value of the Attachment object
default Success <XLite\Module\CDev\FileAttachments\Model\Product\Attachment>
Sample response
{"private":false,"history":[{"id":63,"login":"example","ip":"example","date":64,"path":"example","additionalDetails":"example","attachment":"<XLite\\Module\\CDev\\FileAttachments\\Model\\Product\\Attachment>","order":{"usedCoupons":"<XLite\\Module\\CDev\\Coupons\\Model\\UsedCoupon>[] array","uspsShipment":"<XLite\\Module\\CDev\\USPS\\Model\\Shipment>[] array","capostParcels":"<XLite\\Module\\XC\\CanadaPost\\Model\\Order\\Parcel>[] array","capostReturns":"<XLite\\Module\\XC\\CanadaPost\\Model\\ProductsReturn>[] array","capostOffice":"<XLite\\Module\\XC\\CanadaPost\\Model\\Order\\PostOffice>","giftWrapping":"boolean","greetingMessage":"string","mailchimpStoreId":"string","mandrill_mails":"<XLite\\Module\\XC\\Mandrill\\Model\\MandrillMail>[] array","not_finished_order":"<XLite\\Model\\Order>","pbOrder":"<XLite\\Module\\XC\\PitneyBowes\\Model\\PBOrder>","conversation":"<XLite\\Module\\XC\\VendorMessages\\Model\\Conversation>","order_id":"integer","profile":"<XLite\\Model\\Profile>","orig_profile":"<XLite\\Model\\Profile>","shipping_id":"integer","shipping_method_name":"string","payment_method_name":"string","tracking":"string","date":"integer","lastRenewDate":"integer","paymentStatus":"<XLite\\Model\\Order\\Status\\Payment>","shippingStatus":"<XLite\\Model\\Order\\Status\\Shipping>","notes":"string","adminNotes":"string","details":"<XLite\\Model\\OrderDetail>[] array","trackingNumbers":"<XLite\\Model\\OrderTrackingNumber>[] array","events":"<XLite\\Model\\OrderHistoryEvents>[] array","items":"<XLite\\Model\\OrderItem>[] array","surcharges":"<XLite\\Model\\Order\\Surcharge>[] array","payment_transactions":"<XLite\\Model\\Payment\\Transaction>[] array","currency":"<XLite\\Model\\Currency>","orderNumber":"string","recent":"boolean","xcPendingExport":"boolean","total":"string","subtotal":"string"},"profile":{"gaClientId":"string","socialLoginProvider":"string","socialLoginId":"string","pictureUrl":"string","mail_chimp_lists":"<XLite\\Module\\XC\\MailChimp\\Model\\MailChimpList>[] array","mail_chimp_interests":"<XLite\\Module\\XC\\MailChimp\\Model\\MailChimpGroupName>[] array","mail_chimp_segments":"<XLite\\Module\\XC\\MailChimp\\Model\\MailChimpSegment>[] array","auth_phone_number":"string","auth_phone_code":"string","authy_id":"integer","conversations":"<XLite\\Module\\XC\\VendorMessages\\Model\\Conversation>[] array","profile_id":"integer","login":"string","password":"string","password_hint":"string","password_hint_answer":"string","passwordResetKey":"string","passwordResetKeyDate":"integer","access_level":"integer","cms_profile_id":"integer","cms_name":"string","added":"integer","first_login":"integer","last_login":"integer","status":"string","statusComment":"string","referer":"string","order":"<XLite\\Model\\Order>","event":"<XLite\\Model\\OrderHistoryEvents>[] array","language":"string","last_shipping_id":"integer","last_payment_id":"integer","membership":"<membership object>","pending_membership":"<pending_membership object>","addresses":"<XLite\\Model\\Address>[] array","roles":"<XLite\\Model\\Role>[] array","anonymous":"boolean","forceChangePassword":"boolean","dateOfLoginAttempt":"integer","countOfLoginAttempts":"integer","searchFakeField":"string","xcPendingExport":"boolean"}}],"id":19,"orderby":83,"product":{"featuredProducts":"<XLite\\Module\\CDev\\FeaturedProducts\\Model\\FeaturedProduct>[] array","attachments":"<XLite\\Module\\CDev\\FileAttachments\\Model\\Product\\Attachment>[] array","ogMeta":"string","useCustomOG":"boolean","marketPrice":"string","pinCodesEnabled":"boolean","autoPinCodes":"boolean","pinCodes":"<XLite\\Module\\CDev\\PINCodes\\Model\\PinCode>[] array","views_stats":"<XLite\\Module\\CDev\\ProductAdvisor\\Model\\ProductStats>[] array","purchase_stats":"<XLite\\Module\\CDev\\ProductAdvisor\\Model\\ProductStats>[] array","participateSale":"boolean","discountType":"string","salePriceValue":"string","xcPendingBulkEdit":"boolean","tabs":"<XLite\\Module\\XC\\CustomProductTabs\\Model\\Product\\Tab>[] array","isCustomerAttachmentsAvailable":"boolean","isCustomerAttachmentsRequired":"boolean","facebookMarketingEnabled":"boolean","freeShip":"boolean","freightFixedFee":"string","useAsSegmentCondition":"boolean","exported_pb":"boolean","gpc":"string","gtin":"string","hs_code":"string","mpn":"string","model_number":"string","stock_number":"string","hazmat":"boolean","chemicals":"boolean","pesticide":"boolean","aerosol":"boolean","rppc":"boolean","non_spillable":"boolean","fuel":"boolean","ormd":"boolean","battery":"string","product_condition":"string","country_of_origin":"<XLite\\Model\\Country>","restrictions":"<XLite\\Module\\XC\\PitneyBowes\\Model\\ProductRestriction>[] array","tags":"<XLite\\Module\\XC\\ProductTags\\Model\\Tag>[] array","variants":"<XLite\\Module\\XC\\ProductVariants\\Model\\ProductVariant>[] array","variantsAttributes":"<XLite\\Model\\Attribute>[] array","wholesalePrices":"<XLite\\Module\\CDev\\Wholesale\\Model\\WholesalePrice>[] array","reviews":"<XLite\\Module\\XC\\Reviews\\Model\\Review>[] array","upsellingProducts":"<XLite\\Module\\XC\\Upselling\\Model\\UpsellingProduct>[] array","upsellingParentProducts":"<XLite\\Module\\XC\\Upselling\\Model\\UpsellingProduct>[] array","product_id":"integer","price":"string","sku":"string","enabled":"boolean","weight":"string","useSeparateBox":"boolean","boxWidth":"string","boxLength":"string","boxHeight":"string","itemsPerBox":"integer","free_shipping":"boolean","taxable":"boolean","javascript":"string","arrivalDate":"integer","date":"integer","updateDate":"integer","needProcess":"boolean","categoryProducts":"<XLite\\Model\\CategoryProducts>[] array","order_items":"<XLite\\Model\\OrderItem>[] array","images":"<XLite\\Model\\Image\\Product\\Image>[] array","inventoryEnabled":"boolean","amount":"integer","lowLimitEnabledCustomer":"boolean","lowLimitEnabled":"boolean","lowLimitAmount":"integer","productClass":"<XLite\\Model\\ProductClass>","taxClass":"<XLite\\Model\\TaxClass>","attributes":"<XLite\\Model\\Attribute>[] array","attributeValueC":"<XLite\\Model\\AttributeValue\\AttributeValueCheckbox>[] array","attributeValueT":"<XLite\\Model\\AttributeValue\\AttributeValueText>[] array","attributeValueS":"<XLite\\Model\\AttributeValue\\AttributeValueSelect>[] array","attrSepTab":"boolean","quickData":"<XLite\\Model\\QuickData>[] array","memberships":"<XLite\\Model\\Membership>[] array","cleanURLs":"<XLite\\Model\\CleanURL>[] array","metaDescType":"string","sales":"integer","xcPendingExport":"boolean"},"storage":{"attachment":"<XLite\\Module\\CDev\\FileAttachments\\Model\\Product\\Attachment>","id":34,"path":"example","fileName":"example","mime":"example","storageType":"example","size":98,"date":90},"access":"example"}
private
boolean
Private attachment
history
[] array
Attachment history
id
integer
Unique id
orderby
integer
Sort position
product
storage
access
string
Access - membership id or [self::ACCESS_ANY, self::ACCESS_REGISTERED]

POST

<XLite\Module\CDev\FileAttachments\Model\Product\Attachment>
private
boolean
Private attachment
history
[] array
Attachment history
id
integer
Unique id
orderby
integer
Sort position
product
storage
access
string
Access - membership id or [self::ACCESS_ANY, self::ACCESS_REGISTERED]
default Success <XLite\Module\CDev\FileAttachments\Model\Product\Attachment>
Sample response
{"private":false,"history":[{"id":63,"login":"example","ip":"example","date":64,"path":"example","additionalDetails":"example","attachment":"<XLite\\Module\\CDev\\FileAttachments\\Model\\Product\\Attachment>","order":{"usedCoupons":"<XLite\\Module\\CDev\\Coupons\\Model\\UsedCoupon>[] array","uspsShipment":"<XLite\\Module\\CDev\\USPS\\Model\\Shipment>[] array","capostParcels":"<XLite\\Module\\XC\\CanadaPost\\Model\\Order\\Parcel>[] array","capostReturns":"<XLite\\Module\\XC\\CanadaPost\\Model\\ProductsReturn>[] array","capostOffice":"<XLite\\Module\\XC\\CanadaPost\\Model\\Order\\PostOffice>","giftWrapping":"boolean","greetingMessage":"string","mailchimpStoreId":"string","mandrill_mails":"<XLite\\Module\\XC\\Mandrill\\Model\\MandrillMail>[] array","not_finished_order":"<XLite\\Model\\Order>","pbOrder":"<XLite\\Module\\XC\\PitneyBowes\\Model\\PBOrder>","conversation":"<XLite\\Module\\XC\\VendorMessages\\Model\\Conversation>","order_id":"integer","profile":"<XLite\\Model\\Profile>","orig_profile":"<XLite\\Model\\Profile>","shipping_id":"integer","shipping_method_name":"string","payment_method_name":"string","tracking":"string","date":"integer","lastRenewDate":"integer","paymentStatus":"<XLite\\Model\\Order\\Status\\Payment>","shippingStatus":"<XLite\\Model\\Order\\Status\\Shipping>","notes":"string","adminNotes":"string","details":"<XLite\\Model\\OrderDetail>[] array","trackingNumbers":"<XLite\\Model\\OrderTrackingNumber>[] array","events":"<XLite\\Model\\OrderHistoryEvents>[] array","items":"<XLite\\Model\\OrderItem>[] array","surcharges":"<XLite\\Model\\Order\\Surcharge>[] array","payment_transactions":"<XLite\\Model\\Payment\\Transaction>[] array","currency":"<XLite\\Model\\Currency>","orderNumber":"string","recent":"boolean","xcPendingExport":"boolean","total":"string","subtotal":"string"},"profile":{"gaClientId":"string","socialLoginProvider":"string","socialLoginId":"string","pictureUrl":"string","mail_chimp_lists":"<XLite\\Module\\XC\\MailChimp\\Model\\MailChimpList>[] array","mail_chimp_interests":"<XLite\\Module\\XC\\MailChimp\\Model\\MailChimpGroupName>[] array","mail_chimp_segments":"<XLite\\Module\\XC\\MailChimp\\Model\\MailChimpSegment>[] array","auth_phone_number":"string","auth_phone_code":"string","authy_id":"integer","conversations":"<XLite\\Module\\XC\\VendorMessages\\Model\\Conversation>[] array","profile_id":"integer","login":"string","password":"string","password_hint":"string","password_hint_answer":"string","passwordResetKey":"string","passwordResetKeyDate":"integer","access_level":"integer","cms_profile_id":"integer","cms_name":"string","added":"integer","first_login":"integer","last_login":"integer","status":"string","statusComment":"string","referer":"string","order":"<XLite\\Model\\Order>","event":"<XLite\\Model\\OrderHistoryEvents>[] array","language":"string","last_shipping_id":"integer","last_payment_id":"integer","membership":"<membership object>","pending_membership":"<pending_membership object>","addresses":"<XLite\\Model\\Address>[] array","roles":"<XLite\\Model\\Role>[] array","anonymous":"boolean","forceChangePassword":"boolean","dateOfLoginAttempt":"integer","countOfLoginAttempts":"integer","searchFakeField":"string","xcPendingExport":"boolean"}}],"id":19,"orderby":83,"product":{"featuredProducts":"<XLite\\Module\\CDev\\FeaturedProducts\\Model\\FeaturedProduct>[] array","attachments":"<XLite\\Module\\CDev\\FileAttachments\\Model\\Product\\Attachment>[] array","ogMeta":"string","useCustomOG":"boolean","marketPrice":"string","pinCodesEnabled":"boolean","autoPinCodes":"boolean","pinCodes":"<XLite\\Module\\CDev\\PINCodes\\Model\\PinCode>[] array","views_stats":"<XLite\\Module\\CDev\\ProductAdvisor\\Model\\ProductStats>[] array","purchase_stats":"<XLite\\Module\\CDev\\ProductAdvisor\\Model\\ProductStats>[] array","participateSale":"boolean","discountType":"string","salePriceValue":"string","xcPendingBulkEdit":"boolean","tabs":"<XLite\\Module\\XC\\CustomProductTabs\\Model\\Product\\Tab>[] array","isCustomerAttachmentsAvailable":"boolean","isCustomerAttachmentsRequired":"boolean","facebookMarketingEnabled":"boolean","freeShip":"boolean","freightFixedFee":"string","useAsSegmentCondition":"boolean","exported_pb":"boolean","gpc":"string","gtin":"string","hs_code":"string","mpn":"string","model_number":"string","stock_number":"string","hazmat":"boolean","chemicals":"boolean","pesticide":"boolean","aerosol":"boolean","rppc":"boolean","non_spillable":"boolean","fuel":"boolean","ormd":"boolean","battery":"string","product_condition":"string","country_of_origin":"<XLite\\Model\\Country>","restrictions":"<XLite\\Module\\XC\\PitneyBowes\\Model\\ProductRestriction>[] array","tags":"<XLite\\Module\\XC\\ProductTags\\Model\\Tag>[] array","variants":"<XLite\\Module\\XC\\ProductVariants\\Model\\ProductVariant>[] array","variantsAttributes":"<XLite\\Model\\Attribute>[] array","wholesalePrices":"<XLite\\Module\\CDev\\Wholesale\\Model\\WholesalePrice>[] array","reviews":"<XLite\\Module\\XC\\Reviews\\Model\\Review>[] array","upsellingProducts":"<XLite\\Module\\XC\\Upselling\\Model\\UpsellingProduct>[] array","upsellingParentProducts":"<XLite\\Module\\XC\\Upselling\\Model\\UpsellingProduct>[] array","product_id":"integer","price":"string","sku":"string","enabled":"boolean","weight":"string","useSeparateBox":"boolean","boxWidth":"string","boxLength":"string","boxHeight":"string","itemsPerBox":"integer","free_shipping":"boolean","taxable":"boolean","javascript":"string","arrivalDate":"integer","date":"integer","updateDate":"integer","needProcess":"boolean","categoryProducts":"<XLite\\Model\\CategoryProducts>[] array","order_items":"<XLite\\Model\\OrderItem>[] array","images":"<XLite\\Model\\Image\\Product\\Image>[] array","inventoryEnabled":"boolean","amount":"integer","lowLimitEnabledCustomer":"boolean","lowLimitEnabled":"boolean","lowLimitAmount":"integer","productClass":"<XLite\\Model\\ProductClass>","taxClass":"<XLite\\Model\\TaxClass>","attributes":"<XLite\\Model\\Attribute>[] array","attributeValueC":"<XLite\\Model\\AttributeValue\\AttributeValueCheckbox>[] array","attributeValueT":"<XLite\\Model\\AttributeValue\\AttributeValueText>[] array","attributeValueS":"<XLite\\Model\\AttributeValue\\AttributeValueSelect>[] array","attrSepTab":"boolean","quickData":"<XLite\\Model\\QuickData>[] array","memberships":"<XLite\\Model\\Membership>[] array","cleanURLs":"<XLite\\Model\\CleanURL>[] array","metaDescType":"string","sales":"integer","xcPendingExport":"boolean"},"storage":{"attachment":"<XLite\\Module\\CDev\\FileAttachments\\Model\\Product\\Attachment>","id":34,"path":"example","fileName":"example","mime":"example","storageType":"example","size":98,"date":90},"access":"example"}
private
boolean
Private attachment
history
[] array
Attachment history
id
integer
Unique id
orderby
integer
Sort position
product
storage
access
string
Access - membership id or [self::ACCESS_ANY, self::ACCESS_REGISTERED]